<?php

namespace Plugins\Demo;
use App\Util\TerminalOutput;
use Plugins\Demo\Http\Admin\Controller\IndexController;

/**
 * 服务启动时执行
 */
class OnStart
{
    public static function run(): void
    {
        TerminalOutput::info("视图Demo插件访问地址：" .sc_route([IndexController::class, 'index']));
    }
}